﻿using Microsoft.AspNetCore.Authorization;

namespace Fast.Authorization
{
    /// <summary>
    /// 授权
    /// </summary>
    [SkipScan]
    public sealed class FastAuthorizationRequirement : IAuthorizationRequirement
    {
        public FastAuthorizationRequirement(params string[] policies)
        {
            Policies = policies;
        }
        /// <summary>
        /// 策略
        /// </summary>
        public string[] Policies { get; private set; }
    }
}
